#ifndef _FNT_SPLASH_H_
#define _FNT_SPLASH_H_

#include <QDialog>

struct SplashPriv;
class Splash: public QDialog {

	Q_OBJECT;
	friend struct SplashPriv;
	SplashPriv*const priv;

	static Splash* _instance;

	void closeEvent(QCloseEvent* event) override;

	Splash();

	private Q_SLOTS:
	public Q_SLOTS:
	public:
	static Splash* instance() {
		if(!_instance)
			_instance=new Splash{};
		return _instance;
	}
	~Splash();
};

#endif
